<template>
  <div class="chart-container"></div>
</template>

<script>
import StatisticApiService from "@/api/statistic";
export default {
  name: "ChartItem",
  mounted() {
    this.getChartData();
  },
  methods: {
    async getChartData() {
      try {
        const data = await StatisticApiService.getStatisticChartApi("kData");
        console.log(data, "--e");
      } catch (error) {
        console.log(error);
      }
    },
  },
};
</script>

<style lang="scss" scoped>
.chart-container{
  width: 100%;
  height: 300px;
  background-color: #fff;
}
</style>
